home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 December
/
Chip_2001-12_cd1.bin
/
zkuste
/
tuning
/
download
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ Context Menu Options 4.xpl
< prev
next >
Wrap
Text File
|
2001-04-12
|
2KB
|
67 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH 1"="Appearance\Files&Folders\Files"
"UIPATH 2"="System\Advanced Performance Settings"
"NAME"="Start High Priority Context Menu"
"VERSION"="2.34"
"LANGUAGE"="VBScript"
"OSVERSION"="010101"
"TEXT 1"="Enable "Start high priority" command for EXE files"
"DESCRIPTION 1"="If "Start high priority" is enabled, the command "Start High Priority" will appear if you right-click a EXE file."
"DESCRIPTION 2"="Selecting this command will force Windows to execute the currently selected file with maximum priority."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Found at http://snakefoot.homestead.com/files/tweak/winnt/tweak.html (Credits: www.ntfaq.com)"
Sub Plugin_Initialize
s=RegReadValue("HKCR\exefile\Shell\XQSHP\Command\@")
if Len(s)>0 then
SetUIElement 1,true
end if
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=""
bW9x=false
If GetWinVer=1 or GetWinVer=3 or GetWinVer=5 then
bW9x=true
else
bW9x=false
end if
if GetUIElement(1)=true then
if bW9x=true then
s=GetWinDir
s=s & "command.com /c start ""XQSHP"" /high ""%1"""
else
'Windows NT/2000
s=GetWinSysDir
s=s & "cmd.exe /c start ""XQSHP"" /high ""%1"""
end if
Call RegWriteValue("HKCR\exefile\Shell\XQSHP\@","Start &High priority",1)
Call RegWriteValue("HKCR\exefile\Shell\XQSHP\Command\@",s,1)
else 'Disable it!
if RegPathExists("HKCR\exefile\Shell\XQSHP") then
Call RegDeletePath("HKCR\exefile\Shell\XQSHP\Command")
Call RegDeletePath("HKCR\exefile\Shell\XQSHP")
end if
end if
End Sub
Sub Plugin_Terminate
End Sub